<?php

/**
 * Created by PhpStorm.
 * User: aoxiangli
 * Date: 2016/3/31 16:06
 * Description: 错误代码
 */
defined('BASEPATH') OR exit('No direct script access allowed');

class ErrorCode
{
    public $success = array('txt' => 'success', 'code' => 0);
    public $noReasonWrong = array('txt' => 'noReasonWrong', 'code' => 9999);
    public $passwordWrong = array('txt' => 'passwordWrong', 'code' => 1001);
    public $noData = array('txt' => 'noData', 'code' => 1002);
    public $noLogin = array('txt' => 'noLogin', 'code' => 1003);
    public $noUserName = array('txt' => 'noUserName', 'code' => 1004);
    public $noPwd = array('txt' => 'noPwd', 'code' => 1005);
    public $notExistUser = array('txt' => 'notExistUser', 'code' => 1006);
    public $tokenWrong = array('txt' => 'tokenWrong', 'code' => 1007);
    public $noIDS = array('txt' => 'noIDS', 'code' => 1008);
    public $noReason = array('txt' => 'noReason', 'code' => 1009);
    public $noMatchDimension = array('txt' => 'noMatchDimension', 'code' => 1010);
    public $noEarnings = array('txt' => 'noEarnings', 'code' => 1011);
    public $noValidBlockTime = array('txt' => 'noValidBlockTime', 'code' => 1012);
    public $noLevelID = array('txt' => 'noLevelID', 'code' => 1013);
    public $noKeywords = array('txt' => 'noKeywords', 'code' => 1014);
    public $noType = array('txt' => 'noType', 'code' => 1015);
    public $noTitle = array('txt' => 'noTitle', 'code' => 1016);
    public $noContent = array('txt' => 'noContent', 'code' => 1017);
}
